package com.cis467.mrball.parts;

public class Floor extends Coordinate {

	public static final double SIZE = 1.0;
	
	public static final int PIT = 0;
	public static final int SLOW = 1;
	public static final int NORMAL = 2;
	public static final int FAST = 3;
	
	public int type;
	public boolean isVisible;
	
	public Floor(int x, int y){
		super(x,y);
		type = NORMAL;
		isVisible = true;
	}
	
	public Floor(int x, int y, int ptype){
		super(x,y);
		type = ptype;
		isVisible = true;
	}
	
	public boolean isPortal() {
		return false;
	}
	
	public boolean isButton() {
		return false;
	}
	
	public String toString(){
		String str = "";
		str += "<tile c=\""+getCol()+"\" r=\""+getRow()+"\" t=\""+type+"\" ></tile>";
		return str;
	}
}
